package com.ld.security.auth.common.feign;


import com.ld.security.auth.common.po.ApiLogPo;
import com.ld.security.common.core.base.po.EntitysPo;
import com.ld.security.common.core.base.vo.DataVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(value =  "ld-auth-server")
@RequestMapping("/rpc/log")
public interface LogFeign {

    /**
     * 服务注销
     * @return
     */
    @RequestMapping(value="/push",method = RequestMethod.POST)
    DataVo push(@RequestBody EntitysPo<ApiLogPo> po);


}
